﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CanceledOrdersReport.aspx.cs" Inherits="MLY.Reports.DataReports.CanceledOrdersReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %> 

<%@ Register Assembly="DevExpress.Web.v11.1.Linq, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Data.Linq" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPanel"
  TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxRoundPanel"
  TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxLoadingPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.1.Export, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView.Export" tagprefix="dx" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><asp:Literal ID="TitleLiteral" runat="server" Text="<%$Dict:reportsParams.CanceledWOReport %>"></asp:Literal></title>
    
    <link href="/Style/General_Style_v9.css" rel="stylesheet" type="text/css" />
    <link href="../../Style/ReportsStylesheet.css" rel="stylesheet" type="text/css" />
   
    <script src="../../TableSorter/jquery-latest.js" type="text/javascript"></script>
    <script src="../../TableSorter/jquery.tablesorter.js" type="text/javascript"></script>    
</head>
<body>
    <form id="form1" runat="server">
    <div class="InerTextStyle">
    <asp:Panel ID="DirectionPanel" runat="server">
        
        <asp:Label ID="ReportTitleLabel" runat="server" Text="<%$Dict:reportsParams.CanceledWOReport %>" CssClass="TitleStyle"></asp:Label>
        <asp:Panel ID="DemoPanel" runat="server">
            <div class="democlass">
                The Canceled Work Orders 
                report gives you the amount of orders that have been canceled in percentage 
            </div>
        </asp:Panel>
        <br /><br />
        <asp:Label ID="ContractorsTitleLabel" runat="server" Text='<%$ Dict:Alert.ChooseContractors %>' CssClass="TitleStyle"></asp:Label>
        
        <dx:ASPxGridView ID="ContractorsGrid" runat="server"  
             EnableCallBacks="False" SettingsPager-RenderMode="Lightweight"
             EnableTheming="False" SettingsPager-PageSize="1000"
             KeyFieldName="OrganizationName" 
             Settings-ShowFilterRow="true" 
             Settings-ShowGroupButtons="true"
             Settings-ShowFilterBar="Hidden" Settings-ShowFilterRowMenu="True"
             Settings-ShowGroupedColumns="True" Settings-ShowGroupPanel="True" 
             Settings-UseFixedTableLayout="True" >
            <SettingsBehavior AllowFocusedRow="True" ColumnResizeMode="NextColumn" AutoFilterRowInputDelay="2500"  />
            <SettingsPager RenderMode="Lightweight"></SettingsPager>
            <Styles Header-Wrap="True"></Styles>
            <Columns>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:OrganizationDetails.OrganizationName %>" FieldName="OrganizationName"></dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:CanceledReport.Percent %>" FieldName="CancelledPercent"></dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:CanceledReport.PercentByQuantity %>" FieldName="CanceledByQuantityPercent"></dx:GridViewDataTextColumn>
            </Columns>
        </dx:ASPxGridView>
        <br /><br />
        
        <%--<asp:GridView ID="ContractorsGrid" runat="server" AutoGenerateColumns="false" CellPadding="5">
        <HeaderStyle CssClass="GridTitleStyle" />
        <RowStyle CssClass="InerTextStyle" />
        <Columns>
            <asp:BoundField HeaderText="<%$ Dict:Organizations.OrganizationName %>" DataField="OrganizationName" />
            <asp:BoundField HeaderText="<%$ Dict:CanceledReport.Percent %>" DataField="CancelledPercent" />
            <asp:BoundField HeaderText="<%$ Dict:CanceledReport.PercentByQuantity %>" DataField="CanceledByQuantityPercent" />
        </Columns>
        </asp:GridView>--%>
        
        <asp:Label ID="CustomersGridTitle" runat="server" Text='<%$ Dict:Alert.ChooseCustomers %>' CssClass="TitleStyle"></asp:Label>
        
         <dx:ASPxGridView ID="CustomersGridView" runat="server"  
             EnableCallBacks="False" SettingsPager-RenderMode="Lightweight"
             EnableTheming="False" SettingsPager-PageSize="1000"
             KeyFieldName="OrganizationName" 
             Settings-ShowFilterRow="true" 
             Settings-ShowGroupButtons="true"
             Settings-ShowFilterBar="Hidden" Settings-ShowFilterRowMenu="True"
             Settings-ShowGroupedColumns="True" Settings-ShowGroupPanel="True" 
             Settings-UseFixedTableLayout="True" >
            <SettingsBehavior AllowFocusedRow="True" ColumnResizeMode="NextColumn" AutoFilterRowInputDelay="2500"  />
            <SettingsPager RenderMode="Lightweight"></SettingsPager>
            <Styles Header-Wrap="True"></Styles>
            <Columns>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:OrganizationDetails.OrganizationName %>" FieldName="OrganizationName"></dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:CanceledReport.Percent %>" FieldName="CancelledPercent"></dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="<%$ Dict:CanceledReport.PercentByQuantity %>" FieldName="CanceledByQuantityPercent"></dx:GridViewDataTextColumn>
            </Columns>
        </dx:ASPxGridView>
        
        <%--<asp:GridView ID="CustomersGridView" runat="server" AutoGenerateColumns="false" CellPadding="5">
        <HeaderStyle CssClass="GridTitleStyle" />
        <RowStyle CssClass="InerTextStyle" />
        <Columns>
            <asp:BoundField HeaderText="<%$ Dict:Organizations.OrganizationName %>" DataField="OrganizationName" />
            <asp:BoundField HeaderText="<%$ Dict:CanceledReport.Percent %>" DataField="CancelledPercent" />
            <asp:BoundField HeaderText="<%$ Dict:CanceledReport.PercentByQuantity %>" DataField="CanceledByQuantityPercent" />
        </Columns>
        </asp:GridView>--%>
    </asp:Panel>
    </div>
    </form>
</body>
</html>
